package com.hs.carrental.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hs.carrental.dto.store.StoreDeleteDto;
import com.hs.carrental.dto.store.StorePageDto;
import com.hs.carrental.dto.store.StoreSaveDto;
import com.hs.carrental.entity.Store;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hs.carrental.vo.store.StorePageVo;
import com.hs.carrental.vo.store.StoreVo;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lyy
 * @since 2021-03-17
 */
public interface IStoreService extends IService<Store> {

    List<StoreVo> getStoreEnum();

    boolean save(StoreSaveDto saveDto);

    IPage<StorePageVo> getPage(StorePageDto storePageDto);

    boolean delete(StoreDeleteDto storeDeleteDto);
}
